//
//  ViewController.m
//  弹出pop视图
//
//  Created by 袁飞霞 on 16/5/13.
//  Copyright © 2016年 cn.sophietobeabetterone. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIWindow *window = [[[UIApplication sharedApplication] windows]                         firstObject];

    UIView *view = [[NSBundle mainBundle] loadNibNamed:@"PopView" owner:nil options:nil].lastObject;
    [window addSubview:view];
    view.frame = CGRectMake(70, 70, 100, 200);
}
-(void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{

}


@end
